﻿using System.Configuration;
using MySql.Data.MySqlClient;

namespace Portfolio.Persistencia
{
    public class DBContext
    {
        public static MySqlConnection GetInstance()
        {
            return new MySqlConnection(ConfigurationManager.ConnectionStrings["MyDB"].ConnectionString);
        }
    }
}